package top.oylan.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.oylan.manager.entity.TypeCategory;
import top.oylan.manager.entity.example.TypeCategoryExample;

@Mapper
public interface TypeCategoryMapper {
    long countByExample(TypeCategoryExample example);

    int deleteByExample(TypeCategoryExample example);

    int insert(TypeCategory record);

    int insertSelective(TypeCategory record);

    List<TypeCategory> selectByExample(TypeCategoryExample example);

    int updateByExampleSelective(@Param("record") TypeCategory record, @Param("example") TypeCategoryExample example);

    int updateByExample(@Param("record") TypeCategory record, @Param("example") TypeCategoryExample example);

    List<TypeCategory> selectByCategoryId(Integer categoryId);
}